package com.website.mybatis.entity;


import lombok.Data;

import java.util.Date;

@Data
public class User {

	private Integer id;
	private String name;
	private String password;
	private Date createTime;
	private Date updateTime;

	public User() {
	}

	public User(Integer id, String name, String password, Date createTime,
			Date updateTime) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public User(String name) {
		this.name = name;
	}

}
